﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000179 RID: 377
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class CancelExpeditionCsReq : IMessage<CancelExpeditionCsReq>, IMessage, IEquatable<CancelExpeditionCsReq>, IDeepCloneable<CancelExpeditionCsReq>, IBufferMessage
	{
		// Token: 0x170004FD RID: 1277
		// (get) Token: 0x060010F5 RID: 4341 RVA: 0x000316A0 File Offset: 0x0002F8A0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<CancelExpeditionCsReq> Parser
		{
			get
			{
				return CancelExpeditionCsReq._parser;
			}
		}

		// Token: 0x170004FE RID: 1278
		// (get) Token: 0x060010F6 RID: 4342 RVA: 0x000316A7 File Offset: 0x0002F8A7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return CancelExpeditionCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170004FF RID: 1279
		// (get) Token: 0x060010F7 RID: 4343 RVA: 0x000316B9 File Offset: 0x0002F8B9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return CancelExpeditionCsReq.Descriptor;
			}
		}

		// Token: 0x060010F8 RID: 4344 RVA: 0x000316C0 File Offset: 0x0002F8C0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public CancelExpeditionCsReq()
		{
		}

		// Token: 0x060010F9 RID: 4345 RVA: 0x000316C8 File Offset: 0x0002F8C8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public CancelExpeditionCsReq(CancelExpeditionCsReq other) : this()
		{
			this.nPNHJLGFMIM_ = other.nPNHJLGFMIM_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x060010FA RID: 4346 RVA: 0x000316ED File Offset: 0x0002F8ED
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public CancelExpeditionCsReq Clone()
		{
			return new CancelExpeditionCsReq(this);
		}

		// Token: 0x17000500 RID: 1280
		// (get) Token: 0x060010FB RID: 4347 RVA: 0x000316F5 File Offset: 0x0002F8F5
		// (set) Token: 0x060010FC RID: 4348 RVA: 0x000316FD File Offset: 0x0002F8FD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint NPNHJLGFMIM
		{
			get
			{
				return this.nPNHJLGFMIM_;
			}
			set
			{
				this.nPNHJLGFMIM_ = value;
			}
		}

		// Token: 0x060010FD RID: 4349 RVA: 0x00031706 File Offset: 0x0002F906
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as CancelExpeditionCsReq);
		}

		// Token: 0x060010FE RID: 4350 RVA: 0x00031714 File Offset: 0x0002F914
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(CancelExpeditionCsReq other)
		{
			return other != null && (other == this || (this.NPNHJLGFMIM == other.NPNHJLGFMIM && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x060010FF RID: 4351 RVA: 0x00031744 File Offset: 0x0002F944
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.NPNHJLGFMIM != 0U)
			{
				num ^= this.NPNHJLGFMIM.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06001100 RID: 4352 RVA: 0x00031783 File Offset: 0x0002F983
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06001101 RID: 4353 RVA: 0x0003178B File Offset: 0x0002F98B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06001102 RID: 4354 RVA: 0x00031794 File Offset: 0x0002F994
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.NPNHJLGFMIM != 0U)
			{
				output.WriteRawTag(56);
				output.WriteUInt32(this.NPNHJLGFMIM);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06001103 RID: 4355 RVA: 0x000317C8 File Offset: 0x0002F9C8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.NPNHJLGFMIM != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.NPNHJLGFMIM);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06001104 RID: 4356 RVA: 0x00031806 File Offset: 0x0002FA06
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CancelExpeditionCsReq other)
		{
			if (other == null)
			{
				return;
			}
			if (other.NPNHJLGFMIM != 0U)
			{
				this.NPNHJLGFMIM = other.NPNHJLGFMIM;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06001105 RID: 4357 RVA: 0x00031837 File Offset: 0x0002FA37
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06001106 RID: 4358 RVA: 0x00031840 File Offset: 0x0002FA40
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 56U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.NPNHJLGFMIM = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04000729 RID: 1833
		private static readonly MessageParser<CancelExpeditionCsReq> _parser = new MessageParser<CancelExpeditionCsReq>(() => new CancelExpeditionCsReq());

		// Token: 0x0400072A RID: 1834
		private UnknownFieldSet _unknownFields;

		// Token: 0x0400072B RID: 1835
		public const int NPNHJLGFMIMFieldNumber = 7;

		// Token: 0x0400072C RID: 1836
		private uint nPNHJLGFMIM_;
	}
}
